package com.sakura.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author : Sakura
 * @Date : 2024/1/11 10:13
 * @Description : TODO
 */
@ApiModel(description = "分页查询老人DTO")
@Data
@Accessors(chain = true)//链式编程
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class QueryElderlyDTO {

    @ApiModelProperty("求助记录id")
    private Long id;
    @ApiModelProperty("老人姓名")
    private String name;
    @ApiModelProperty("当前页码")
    Integer current;
    @ApiModelProperty("每页数据大小")
    private Integer pageSize;
    @ApiModelProperty("网格员id")
    private Integer gridId;
    @ApiModelProperty("sex")
    private Integer sex;
}
